package com.example.myapplication.data;


import java.io.Serializable;

public class Notification implements Serializable {
    Integer id;
    String title;
    String type;
    String pubTime;
    String coverUrl;
    String content;
    WhoPub whoPub;

    public com.example.myapplication.data.WhoPub getWhoPub() {
        return whoPub;
    }

    public void setWhoPub(com.example.myapplication.data.WhoPub whoPub) {
        this.whoPub = whoPub;
    }

    @Override
    public String toString() {
        return "Notification{" +
                "Id=" + id +
                ", Title='" + title + '\'' +
                ", Type='" + type + '\'' +
                ", PubTime='" + pubTime + '\'' +
                ", CoverUrl='" + coverUrl + '\'' +
                ", Content='" + content + '\'' +
                ", WhoPub=" + whoPub +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPubTime() {
        return pubTime;
    }

    public void setPubTime(String pubTime) {
        this.pubTime = pubTime;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
